/**
 * 
 */
package com.nh.entity;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.OneToMany;
import javax.persistence.Table;

/**
 * 项目名称：NotoginsengManage
 * 
 * 类名称：NgNewsCategory
 * 
 * 类描述： 信息分类
 * 
 * 创建人：李兴建
 * 
 * E-mail:lxj08193@163.com
 * 
 * 创建时间：2012-11-2 下午06:47:09
 * 
 * 修改人：李兴建
 * 
 * 修改时间：2012-11-2 下午06:47:09
 * 
 * 修改备注：
 * 
 * @version
 */
@Entity
@Table(name = "ng_news_category")
public class NgNewsCategory extends BaseEntity {
	// 类别名称
	private String title;
	// 创建人
	private String createAdminid;
	// 创建时间
	private Timestamp createTime;
	// 显示排序
	private Integer oder;
	// 是否启用：0 启用 1不启用
	private Integer state;
	// 描述
	private String discription;
	

	/**
	 * @return the title
	 */
	@Column(name = "title", nullable = false, length = 200)
	public String getTitle() {
		return title;
	}

	/**
	 * @param title
	 *            the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * @return the createAdminid
	 */
	@Column(name = "create_adminid", nullable = false, length = 40)
	public String getCreateAdminid() {
		return createAdminid;
	}

	/**
	 * @param createAdminid
	 *            the createAdminid to set
	 */
	public void setCreateAdminid(String createAdminid) {
		this.createAdminid = createAdminid;
	}

	/**
	 * @return the createTime
	 */
	public Timestamp getCreateTime() {
		return createTime;
	}

	/**
	 * @param createTime
	 *            the createTime to set
	 */
	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	/**
	 * @return the oder
	 */
	@Column(name = "oder", nullable = false)
	public Integer getOder() {
		return oder;
	}

	/**
	 * @param oder
	 *            the oder to set
	 */

	public void setOder(Integer oder) {
		this.oder = oder;
	}

	/**
	 * @return the state
	 */
	public Integer getState() {
		return state;
	}

	/**
	 * @param state
	 *            the state to set
	 */
	@Column(name = "state", nullable = false)
	public void setState(Integer state) {
		this.state = state;
	}

	/**
	 * @return the discription
	 */
	public String getDiscription() {
		return discription;
	}

	/**
	 * @param discription
	 *            the discription to set
	 */
	public void setDiscription(String discription) {
		this.discription = discription;
	}

}
